//
// Created by dong on 2025/10/22.
//

#ifndef SDL_DRAW_TOOLS_SLINE_H
#define SDL_DRAW_TOOLS_SLINE_H
#include "Shape.h"

class SLine:public Shape
{
public:
    SLine(SDL_Point begin={0},SDL_Point end={0},SDL_Color color ={0});
    void render(SDL_Renderer* render) override;
    string name() const override;
protected:
    SDL_Point p1;
    SDL_Point p2;
    string m_name;
};


#endif //SDL_DRAW_TOOLS_SLINE_H